package com.zbb.comm.controller;

import com.zbb.base.model.Result;
import com.zbb.comm.service.AssociationUserService;
import com.zbb.comm.service.CroupChatContactsService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author itcast
 */
@Slf4j
@RestController
@RequestMapping("associationUser")
@Api(value = "编辑联系人接口",tags = "编辑联系人接口")
public class AssociationUserController {

    @Autowired
    private AssociationUserService  associationUserService;


    @Autowired
    private WebSocketServer webSocketServer;

    @GetMapping("/addAssUser")
    public Result addAssUser(String assUserId,String orderDetailId,String userId){
        associationUserService.addAssUser(assUserId,orderDetailId,userId);
     return Result.ok();
    }

}
